// FILEPATH: src/modules/game-rule/entities/game-rule.entity.ts

import { Entity, PrimaryGeneratedColumn, Column } from "typeorm";

@Entity()
export class GameRule {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  name: string;

  @Column({ name: 'min_win_games' })
  minWinGames: number;

  @Column({ name: 'max_win_games' })
  maxWinGames: number;
}